import 'package:flutter/material.dart';
import 'package:myturngame/bean/role.dart';
import 'package:myturngame/widget/bag/layout_bag.dart';

WidgetBuilder bagDialogBuilder(Role player, Function(String) mapClick) {
  return (BuildContext context) {
    return Dialog(
      child: Container(
        height: 500,
        padding: const EdgeInsets.all(10),
        child: const BagLayout(),
      ),
    );
  };
}
